#-*-encoding=utf-8-*-
name=u'sales_trac'
title=u'销售机会跟踪'
description=''
fields=(
    TextLineField(
        description=u'联系我们的客户公司名字',
        title=u'客户公司',
        validation_exp=u'',
        write_condition=u'',
        size=30,
        default_value_exp=u'""',
        name=u'title'
),
    TextLineField(
        description='',
        title=u'客户公司网站',
        validation_exp=u'',
        write_condition=u'',
        size=18,
        default_value_exp=u'""',
        name=u'site'
),
    TextLineField(
        description='',
        title=u'联系人姓名',
        validation_exp=u'',
        write_condition=u'',
        size=18,
        default_value_exp=u'""',
        name=u'contactor'
),
    TextLineField(
        description=u'联系人的电子邮件',
        title=u'电子邮件',
        validation_exp=u'',
        write_condition=u'',
        size=18,
        default_value_exp=u'""',
        name=u'email'
),
    LinesField(
        description='',
        title=u'联系电话',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'phone'
),
    MultipleSelectField(
        description='',
        title=u'意向产品',
        validation_exp=u'',
        vocabulary_exp=u"IFieldStorage(flowproperty)['products']",
        limit=4,
        write_condition=u'',
        default_value_exp=u"['文档管理','项目管理']",
        name=u'products'
),
    SingleSelectField(
        description='',
        title=u'重要性',
        validation_exp=u'',
        vocabulary_exp=u"IFieldStorage(flowproperty)['importance']",
        limit=4,
        write_condition=u'',
        default_value_exp=u"'一般'",
        name=u'importance'
),
    TextField(
        rows=5,
        description='',
        title=u'客户需求',
        cols=10,
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'""',
        name=u'requirements'
),
    TextField(
        rows=5,
        description='',
        title=u'附加说明',
        cols=10,
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'""',
        name=u'comments'
),
    PersonSelectField(
        description=u'负责跟单的销售人员',
        title=u'跟单人',
        validation_exp=u'',
        multiple_selection=False,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'salesman'
),
    FileField(
        description=u'客户提交的需求调查表',
        title=u'需求调查表',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'survery',
        container_exp=u'flowsettings.container'
),)

fields_validation_script=ur""""""
